package cn.itcast.nems.payment.enumeration;

import cn.itcast.ic.common.exception.v2.bean.BizErrorBody;
import cn.itcast.ic.common.exception.v2.bean.BizStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 支付异常提示模版
 */
@Getter
@AllArgsConstructor
public enum PaymentErrorBodyEnum implements BizErrorBody {
    ORDER_JOURNAL_DATA_NOT_FOUND(BizStatusEnum.INTERNAL_SERVER_ERROR, "找不到支付流水。凭单类型：%s, 凭单号：%s！");

    public BizStatusEnum status;
    public String message;
}
